package org.jeecg.modules.product.risk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 审批记录
 * @Author: jeecg-boot
 * @Date:   2024-05-17
 * @Version: V1.0
 */
@Schema(description="审批记录")
@Data
@TableName("tb_base_check_plan_approval_record")
public class TbBaseCheckPlanApprovalRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**处理人*/
	@Excel(name = "处理人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Schema(description = "处理人")
    private String processor;
	/**操作*/
	@Excel(name = "操作", width = 15)
    @Schema(description = "操作")
    private String controls;
	/**处理结果*/
	@Excel(name = "处理结果", width = 15)
    @Schema(description = "处理结果")
    private String processingResult;
	/**处理意见*/
	@Excel(name = "处理意见", width = 15)
    @Schema(description = "处理意见")
    private String handlingSuggestion;
	/**操作时间*/
	@Excel(name = "操作时间", width = 15)
    @Schema(description = "操作时间")
    private String operatingTime;
	/**计划id*/
    @Schema(description = "计划id")
    private String planId;
    /**租户ID*/
    private Integer tenantId;
}
